package com.ones.kit.log.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ones.kit.log.mapper.OnesLogMapper;
import com.ones.kit.log.model.entity.OnesBizLog;
import com.ones.kit.log.service.OnesLogService;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 接口日志表 服务实现类
 * </p>
 *
 * @author Clark
 * @version 2024-09-23
 */
@Service
public class OnesLogServiceImpl extends ServiceImpl<OnesLogMapper, OnesBizLog> implements OnesLogService {
    /**
     * 异步保存
     * @param bizLog
     * @return
     */
    @Async("asyncLogExecutor")
    @Override
    public boolean save(OnesBizLog bizLog) {
        return super.save(bizLog);
    }
}
